// 首页接口
import _ajax from './request.js'

function userChannels () {
  return _ajax({
    url: '/v1_0/user/channels'
  })
}
function recommendChannels () {
  return _ajax({
    url: '/v1_0/channels'
  })
}

function recommendArticles (params) {
  return _ajax({
    url: '/v1_1/articles',
    params
  })
}
export { userChannels, recommendArticles, recommendChannels }
